package com.ruoyi.jinchuguanli.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.util.Date;

/**
 * tuihuo对象 tuihuochuli
 *
 * @author ruoyi
 * @date 2023-11-08
 */
public class Tuihuochuli extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     * id主键
     */
    private Integer id;

    /**
     * 出库单号
     */
    @Excel(name = "出库单号")
    private String chukudanhao;

    /**
     * 退货单经手人
     */
    @Excel(name = "退货单经手人")
    private String tuihuojingshouren;

    /**
     * 退货时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "退货时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date tuihuoshijian;

    /**
     * 退货商品
     */
    @Excel(name = "退货商品")
    private String tuihuoshangpin;

    /**
     * 退货经手人
     */
    @Excel(name = "退货经手人")
    private String rukuren;

    /**
     * 是否执行
     */
    @Excel(name = "是否执行")
    private String zhixing;

    /**
     * 退货区分
     */
    @Excel(name = "退货区分")
    private String tuihuoqufen;

    /**
     * 退货入库时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "退货入库时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date rukushijian;

    public void setId (Integer id) {
        this.id = id;
    }

    public Integer getId () {
        return id;
    }

    public String getChukudanhao () {
        return chukudanhao;
    }

    public void setChukudanhao (String chukudanhao) {
        this.chukudanhao = chukudanhao;
    }

    public void setTuihuojingshouren (String tuihuojingshouren) {
        this.tuihuojingshouren = tuihuojingshouren;
    }

    public String getTuihuojingshouren () {
        return tuihuojingshouren;
    }

    public void setTuihuoshijian (Date tuihuoshijian) {
        this.tuihuoshijian = tuihuoshijian;
    }

    public Date getTuihuoshijian () {
        return tuihuoshijian;
    }

    public void setTuihuoshangpin (String tuihuoshangpin) {
        this.tuihuoshangpin = tuihuoshangpin;
    }

    public String getTuihuoshangpin () {
        return tuihuoshangpin;
    }

    public void setRukuren (String rukuren) {
        this.rukuren = rukuren;
    }

    public String getRukuren () {
        return rukuren;
    }

    public void setZhixing (String zhixing) {
        this.zhixing = zhixing;
    }

    public String getZhixing () {
        return zhixing;
    }

    public void setTuihuoqufen (String tuihuoqufen) {
        this.tuihuoqufen = tuihuoqufen;
    }

    public String getTuihuoqufen () {
        return tuihuoqufen;
    }

    public void setRukushijian (Date rukushijian) {
        this.rukushijian = rukushijian;
    }

    public Date getRukushijian () {
        return rukushijian;
    }

    @Override
    public String toString () {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("tuihuojingshouren", getTuihuojingshouren())
                .append("tuihuoshijian", getTuihuoshijian())
                .append("tuihuoshangpin", getTuihuoshangpin())
                .append("rukuren", getRukuren())
                .append("zhixing", getZhixing())
                .append("tuihuoqufen", getTuihuoqufen())
                .append("rukushijian", getRukushijian())
                .toString();
    }
}
